package com.ruoyi.system.service;

import com.ruoyi.system.domain.Major;
import com.ruoyi.system.domain.SubMajor;
import com.ruoyi.system.domain.SysPost;

import java.util.List;

public interface ISubMajorService {
    //搜索查询根据专业名
    List<SubMajor> selectSubMajorList(SubMajor major);
    //添加专业功能
    String insertSubMajor(SubMajor major);
    //批量删除专业功能
    String deleteSubMajor(List<SubMajor> majors);
    //修改专业功能
    String updateSubMajor(SubMajor major);

    List<SubMajor> selectPostList(SubMajor major);
}
